/*
 * @Date: 2023-08-11 13:10:21
 * @LastEditors: lyx
 * @LastEditTime: 2023-08-14 13:50:09
 * @FilePath: \sup-mini-app\src\pages\post\detail\detail.tsx
 * @Description:
 */
/*
 * @Date: 2023-08-11 13:10:21
 * @LastEditors: lyx
 * @LastEditTime: 2023-08-14 13:40:21
 * @FilePath: \sup-mini-app\src\pages\post\detail\detail.tsx
 * @Description:
 */
import { View } from "@tarojs/components";
import UseDetail from "./hooks/useDetail";
import "./index.scss";

function Detail() {
  const { mdContent } = UseDetail();
  console.log("mdContent", mdContent);
  return (
    <View className="detail-wrapper">
      <wemark md={mdContent} link highlight type="wemark" />
    </View>
  );
}

export default Detail;
